package com.baidu.mpks.dal.statistics;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IStatisticsDao {

    void insert(Statistics statisticsCount);

    Statistics findOne(@Param("id") int id);

    List<Statistics> findByKey(@Param("key") String key);

    void delete(@Param("id") int id);

    void deleteByKey(@Param("key") String key);
}
